<img alt="<?php echo $photo->getTitle() ?>" title="<?php echo $photo->getTitle() ?>" 
  src="<?php printf(sfConfig::get('app_path_album_photo_thumb'), $photo->getThumb()) ?>" />
